TIME=`date "+%Y.%m.%d.%H.%M"`
IMAGE_NAME=zgy-base-sixreal
IMAGE_TAG=${TIME}


docker build --build-arg JAR_FILE=IC-base-sixreal-server.jar -t ${IMAGE_NAME}:${IMAGE_TAG} .
docker run -dit --name zgy-base-sixreal-server -p 19305:19305 ${IMAGE_NAME}:${IMAGE_TAG}


echo "${IMAGE_NAME}:${IMAGE_TAG}" > IMAGE
